package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author WEN
 * @Date 2024/1/7 0007
 **/
@Data
@ApiModel("仓库商品库存对象")
public class StoreGoodsStockVo {
    @ApiModelProperty(value = "仓库商品库存ID")
    private Long id;

    @ApiModelProperty(value = "即时库存")
    private long systemStock;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    public StoreGoodsStockVo() {
    }

    public StoreGoodsStockVo(Long id, long systemStock) {
        this.id = id;
        this.systemStock = systemStock;
    }

    public StoreGoodsStockVo(Long id, long systemStock, BigDecimal price) {
        this.id = id;
        this.systemStock = systemStock;
        this.price = price;
    }
}
